package com.cmall.common.foundation.enums;


/**
 * 数据库类型枚举
 * 
 */
public enum DBTypeEnum {
	// 利用构造函数赋值
	MYSQL("A","MySql"), // MySql数据库

	SQLSERVER("B","SqlServer"), // SqlServer数据库

	MONGODB("C","MongoDB"); // MongoDB数据库

	private String value;
	private String name;
	public String getName() {
		return name;
	}
	public String getValue() {
		return value;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setValue(String value) {
		this.value = value;
	}

	private DBTypeEnum(String value,String name){
		this.name = name;
		this.value = value;
	}
}
